''''''''''''''''''''''''''''''''''''''''''''''
' Enventory
'
' vbscript toolset to support administration, Enventory and control of AD Users and PC assets
'
' Copyright (C) ' by ufe@gmx.de
' started  July/August 2008, 
' based on work done within ::
'''''''''''''''''''''''''''''''''''
' Open Audit                  '
' http://open-audit.org	      '
' Software and Hardware Enventory '
' Outputs into MySQL          '
' (c) Mark Unwin 2003         '
'''''''''''''''''''''''''''''''''''
'
' This program is free software; you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation; either version 2 of the License, or
' (at your option) any later version.

' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
' GNU General Public License for more details.

' You should have received a copy of the GNU General Public License along
' with this program; if not, write to the Free Software Foundation, Inc.,
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'
If isAppDriveLocal(lcase(WScript.ScriptFullName)) Then   ' dev
	DBProvider="JET"
	EnventoryDataDir = myFilesDirGet& "\E-nventory"
	'DBProvider="SQLOLEDB"
	EnventoryDBSQL = "DRIVER=SQL Server;Trusted_Connection=Yes;Address=\\sqlserver\pipe\MSSQL$sqlexpress\sql\query;Network=DBNMPNTW;DATABASE=Enventory;SERVER=cgn1ap1-05\sqlexpress"
	EmailTo = "you@your.mail.domain"
	DBWaitForFile = 1
	DDEEVV = True
	wscript.echo WScript.ScriptFullName & "::" & "DDEEVV!"
	RUNFrequence = 0 ' 30 every first of the month; 90 every first day of the quarter, all other values days; 1 once a day; 0 means always
	EnventoryWaitPerRecord = 0 ' seconds to wait between each record to be procesed - decreases cpu load on client
Else ' prod
	DBProvider="JET"
	EnventoryDataDir = "\\yourfilesever\e-nventory\data\"
 rem	EnventoryDataDir = myFilesDirGet& "\E-nventory"
	'DBProvider="SQLOLEDB"
	EnventoryDBSQL = "DRIVER=SQL Server;Trusted_Connection=Yes;Address=\\sqlserver\pipe\MSSQL$sqlexpress\sql\query;Network=DBNMPNTW;DATABASE=Enventory;SERVER=cgn1ap1-05\sqlexpress"
	EmailTo = "you@your.mail.domain"
	DDEEVV = false
	RUNFrequence = 90 ' 30 every first of the month; 90 every first day of the quarter, all other values days; 1 once a day; 0 means always
	EnventoryWaitPerRecord = 5 ' seconds to wait between each record to be procesed - decreases cpu load on client
End If

SuiteName = "E-nventory"

WantExports = true
WantExportsLocal = false

DBWaitForFile = 2000
EnventoryLogDir = EnventoryDataDir&"Logs"
EnventoryScriptsDir = EnventoryDataDir&"Scripts"
EnventoryExportDir = EnventoryDataDir&"Exports"
EnventoryExportDirLocal = myFilesDirGet&"E-nventory.loc\"
EmailFrom = ComputerNameGet() & "<you@your.mail.domain>"
	
DBhistoryDays = 90  ' days how long the data  to be kept in the table 0 means for ever
DBhistoryUnique = True  ' keep only one set of data from last rundate per pc (no hisotry) or multiple records (history for DBhistoryDays)
MINDaysMailSent = 5 ' after how many days with data in the table the mails should be sent?
DBTablePerComputer = False ' create a tabple per computer
DBTablePerOU = False ' create a table per computer ou
DBPerApp = False 'create a DB per application
DBPerComputer = False 'create a DB per Computer
DBPerOU  = False 'create a DB per OU
WSHFileSignature = "E-nventory"

'CNTOCheck = "OU=DE,DC=myDom,DC=myTLD"  ' which leaf objects should be considered
CNTOCheck = ""  ' All leaf objects should be considered
ShowDisabled = false '  show all disabled and expired users

EmailCc = ""
EmailServer = "your.mail.domain"
EMailPort = 25

NtpServer = "ntpserver.your.mail.domain"
'' SIG '' Begin signature block
'' SIG '' MIID6AYJKoZIhvcNAQcCoIID2TCCA9UCAQExDjAMBggq
'' SIG '' hkiG9w0CBQUAMGYGCisGAQQBgjcCAQSgWDBWMDIGCisG
'' SIG '' AQQBgjcCAR4wJAIBAQQQTvApFpkntU2P5azhDxfrqwIB
'' SIG '' AAIBAAIBAAIBAAIBADAgMAwGCCqGSIb3DQIFBQAEEHx9
'' SIG '' EFjkaH4jn+yNHHMaCpGgggISMIICDjCCAXegAwIBAgIQ
'' SIG '' fduYp37P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t5XIbEd/DE3JLkqTecYg
'' SIG '' MA0GCSqGSIb3DQEBAQUABIGAp+kV5DueHY3i5TJc0uuU
'' SIG '' HeqcJyR/iVTBETH6MlTwARtIgKPgAyJ6AcWPWN6wdT40
'' SIG '' 0tEMJ3rScGUyOzV+cAha7pm4CogyhgMw/GlQ5qFraoVo
'' SIG '' V4snv88d+QLCrzaY6xS+LTYyn0TQXV4szDnZfhI3bKj+
'' SIG '' PXdJ/Ryo3kIfANd43tg=
'' SIG '' End signature block
